Skip to content

Fix indentation in tracing page BUG examples#191

Merged
gnidan merged 1 commit intomainfrom
writer-tracing-indentation
Apr 1, 2026
Merged

Fix indentation in tracing page BUG examples#191
gnidan merged 1 commit intomainfrom
writer-tracing-indentation

Conversation

@gnidan
Copy link
Copy Markdown
Member

@gnidan gnidan commented Apr 1, 2026

Summary

  • Adds 2-space indentation inside storage {}, create {}, and code {} blocks in all three BUG code examples on the tracing execution docs page
  • Matches the indentation style used in actual .bug example files throughout the repo

@gnidan gnidan changed the title docs: fix indentation in tracing page BUG examples Fix indentation in tracing page BUG examples Apr 1, 2026
@gnidan gnidan force-pushed the writer-tracing-indentation branch from 75e411b to dba0c80 Compare April 1, 2026 20:03
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 1, 2026

PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-01 20:15 UTC

Move BUG source strings from inline template literals in tracing.mdx
to a separate tracing-examples.ts file. Prettier preserves indentation
in .ts template literals but strips it in .mdx JSX attributes, which
was the root cause of the missing indentation.
@gnidan gnidan force-pushed the writer-tracing-indentation branch from dba0c80 to 407f744 Compare April 1, 2026 20:06
@gnidan gnidan merged commit 60532a2 into main Apr 1, 2026
4 checks passed
@gnidan gnidan deleted the writer-tracing-indentation branch April 1, 2026 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant